 package com.bbcare.comm;


public class ErrorModel
{
  private boolean success;
  private Integer code;
  private String msg;
  
  public ErrorModel(Integer code, String msg)
  {
    this.success = false;
    this.code = code;
    this.msg = msg;
  }
  
  public boolean isSuccess() {
     return this.success;
  }
  
  public Integer getCode() {
     return this.code;
  }
  
  public String getMsg() {
    return this.msg;
  }
}


